﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:c="clr-namespace:HomeUX.Controls;assembly=HomeUX.ClientLibrary"
    xmlns:m="clr-namespace:HomeUX.MusicClientLibrary"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="HomeUX.MusicClientLibrary.MusicAlbumScreen"
    Width="800" Height="530" IsTabStop="False" mc:Ignorable="d" IsEnabled="False">

    <Grid x:Name="LayoutRoot" Background="{StaticResource DefaultBackgroundBrush}">
		<Grid.Resources>
			<Style x:Key="TrackTextStyle" TargetType="TextBlock">
				<Setter Property="TextAlignment" Value="Left" />
				<Setter Property="TextWrapping" Value="Wrap" />
				<Setter Property="LineHeight" Value="15" />
				<Setter Property="LineStackingStrategy" Value="BlockLineHeight" />
			</Style>
		</Grid.Resources>

		<TextBlock x:Name="HeaderTextBlock" Text="{}{0} - Album - {1}" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="18" Margin="10,10,0,0" />

        <m:MusicController x:Name="MusicController" IsNowPlayingMode="False" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="12,55,0,0"
                           BrowseArtistsButtonClick="MusicController_BrowseArtistsButtonClick" SearchButtonClick="MusicController_SearchButtonClick"
                           ViewThisArtistButtonClick="MusicController_ViewThisArtistButtonClick" ViewThisAlbumButtonClick="MusicController_ViewThisAlbumButtonClick"
                           ViewNowPlayingButtonClick="MusicController_ViewNowPlayingButtonClick"
                           MustNavigateToNewAlbum="MusicController_MustNavigateToNewAlbum" BasicStatusChange="MusicController_BasicStatusChange"
                           QueueAllTracksButtonClick="MusicController_QueueAllTracksButtonClick" ClearQueueButtonClick="MusicController_ClearQueueButtonClick"
                           ViewQueueButtonClick="MusicController_ViewQueueButtonClick" IsAddToQueueModeChange="MusicController_IsAddToQueueModeChange"/>

        <c:TouchListBox x:Name="TracksListBox" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="405,55,0,0" Height="467"
            DragZoneVisibility="Hidden" ScrollSliderVisibility="CollapseAlways" IsEnabled="True" SelectionMode="None"
            ItemClick="TracksListBox_ItemClick" ListMargin="0,0,0,0" ViewportMinWidth="330" ItemAction="SetStringValue"
            LayoutComplete="TracksListBox_LayoutComplete">
			  <c:TouchListBox.ItemButtonStyle>
              	<Style TargetType="c:TouchListBoxItem">
                    <Setter Property="Width" Value="165" />
                    <Setter Property="Height" Value="50" />
                    <Setter Property="HorizontalContentAlignment" Value="Left" />
                    <Setter Property="IsTabStop" Value="False" />
                    <Setter Property="Padding" Value="8,0,4,0" />
                </Style>
			  </c:TouchListBox.ItemButtonStyle>
			<TextBlock Style="{StaticResource TrackTextStyle}">7. Sample long track name Sample long track name Sample long track name Sample long track name Sample long track name Sample long track name</TextBlock>
        </c:TouchListBox>
		
        <Rectangle x:Name="ScreenShield" Visibility="Collapsed" Fill="{StaticResource DefaultBackgroundBrush}" />

<!--
<c:TouchButton HorizontalContentAlignment="Left" VerticalContentAlignment="Center"
HorizontalAlignment="Left" VerticalAlignment="Top" Width="200" Height="50"
Text="1. Sample long track name"
>
<c:TouchButton.TextStyle>
	<Style TargetType="TextBlock">
                    <Setter Property="FontSize" Value="13" />
                    <Setter Property="LineStackingStrategy" Value="BlockLineHeight" />
                    <Setter Property="LineHeight" Value="16" />
                    <Setter Property="TextWrapping" Value="Wrap" />
                    <Setter Property="TextAlignment" Value="Left" />
	</Style>
</c:TouchButton.TextStyle>
</c:TouchButton>
-->

    </Grid>

</UserControl>

